import request from '@/utils/request'

// 查询路面厚度、芯样完整性试验检测报告(钻芯法)列表
export function listHdxywzxbgBsInfo(query) {
  return request({
    url: '/report_ljlm/hdxywzxbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询路面厚度、芯样完整性试验检测报告(钻芯法)详细
export function getHdxywzxbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/hdxywzxbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增路面厚度、芯样完整性试验检测报告(钻芯法)
export function addHdxywzxbgBsInfo(data) {
  return request({
    url: '/report_ljlm/hdxywzxbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改路面厚度、芯样完整性试验检测报告(钻芯法)
export function updateHdxywzxbgBsInfo(data) {
  return request({
    url: '/report_ljlm/hdxywzxbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除路面厚度、芯样完整性试验检测报告(钻芯法)
export function delHdxywzxbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/hdxywzxbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_ljlm/hdxywzxbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
